package features;

import java.io.File;
import org.geotools.swing.data.JFileDataStoreChooser;






/**
 * In this example we create a map tool to select a feature clicked
 * with the mouse. The selected feature will be painted yellow.
 *
 * @source $URL: http://svn.osgeo.org/geotools/branches/2.7.x/demo/example/src/main/java/org/geotools/demo/SelectionLab.java $
 */
public class Inicio {

    

    /*
     * The application method
     */
    public static void main(String[] args) throws Exception {
        Selecao me = new Selecao();

        File file = JFileDataStoreChooser.showOpenFile("shp", null);
        if (file == null) {
            return;
            //me.displayShapefile();
        }
        
            me.displayShapefile(file);

        
    }
}
